 {include file="public/header" /}

 <body class="gray-bg">
 <div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="tabs-container">
                    <ul class="nav nav-tabs">
                        <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">基本</a></li>
                        <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">状态</a></li>
                        <li class=""><a data-toggle="tab" href="#tab-3" aria-expanded="false">额外</a></li>
                        <li class=""><a data-toggle="tab" href="#tab-5" aria-expanded="false">婚介</a></li>
                    </ul>
                    <div class="tab-content">
                        <div id="tab-1" class="tab-pane active">
                            <div class="ibox-content">
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">城市：</label>
                                    <div class="col-sm-9">
                                        <input name='city' type="text"  class="form-control" value="{present name='name'}{$name.city}{/present}">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-2 control-label">昵称：</label>
                                    <div class="col-sm-9">
                                        <input name='name' type="text"  class="form-control" value="{present name='name'}{$name.name}{/present}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">头像：</label>
                                    <div class="col-sm-9">
                                        <div class="input-group">
                                            <img src="{present name='name.head_portrait'}{if condition='$name.head_portrait'}__ROOT__{$name.head_portrait}{else /}__IMG__add_img.png{/if}{else /}__IMG__add_img.png{/present}" id="imageimg" style="max-width: 100%;max-height: 600px">
                                            <input name="head_portrait" type="hidden"  id="image" class="form-control" value="{present name='name'}{$name.head_portrait}{/present}">
                                            <span class="input-group-btn">
                                                <button type="button" class="btn btn-primary" id="tubiao">上传</button>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">性别：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="sex" onchange="chan(this);">
                                            <option value="男" {present name='name'}{eq name="name.sex" value="男"}selected="selected"{/eq}{/present}>男</option>
                                            <option value="女" {present name='name'}{eq name="name.sex" value="女"}selected="selected"{/eq}{/present}>女</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">年龄：</label>
                                    <div class="col-sm-9">
                                        <input name="age" type="number"  class="form-control" value="{present name='name'}{$name.age}{/present}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">籍贯：</label>
                                    <div class="col-sm-9">
                                        <input name="through_membership" type="text" class="form-control" value="{present name='name.through_membership'}{$name.through_membership}{/present}" data-toggle="city-picker" readonly>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">签名：</label>
                                    <div class="col-sm-9">
                                        <textarea class="form-control" name="introduction">{present name='name'}{$name.introduction}{/present}</textarea>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">红娘：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="matchmaker_id">
                                            <option value="0"></option>
                                            {volist name='matchmaker' id='vv'}
                                            <label>
                                                <option value="{$vv.user_id}" {present name='name'}{eq name="name.matchmaker_id" value="$vv.user_id"}selected="selected"{/eq}{/present}>{$vv.name}</option>
                                            </label>
                                            {/volist}
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="tab-2" class="tab-pane">
                            <div class="ibox-content">
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">精选：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="is_chosen" {present name="name"}{eq name="name.is_chosen" value="0"}checked{/eq}{else /}checked{/present}>否
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="is_chosen" {present name="name"}{eq name="name.is_chosen" value="1"}checked{/eq}{/present}>是
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">婚介：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="proxy" {present name='name'}{eq name="name.proxy" value="0"}checked{/eq}{else /}checked{/present}>否
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="proxy" {present name='name'}{eq name="name.proxy" value="1"}checked{/eq}{/present}>是
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">合伙：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="partner" {present name='name'}{eq name="name.partner" value="0"}checked{/eq}{else /}checked{/present}>否
                                            </label>
                                            <label>
                                                <input type="radio" value="3" name="partner" {present name='name'}{eq name="name.partner" value="3"}checked{/eq}{/present}>分公司
                                            </label>
                                            <label>
                                                <input type="radio" value="2" name="partner" {present name='name'}{eq name="name.partner" value="2"}checked{/eq}{/present}>子公司
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="partner" {present name='name'}{eq name="name.partner" value="1"}checked{/eq}{/present}>区级
                                            </label>
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-2 control-label">不限城市：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="notlimit_city" {present name='name'}{eq name="name.notlimit_city" value="0"}checked{/eq}{else /}checked{/present}>否
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="notlimit_city" {present name='name'}{eq name="name.notlimit_city" value="1"}checked{/eq}{/present}>是
                                            </label>
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-2 control-label">学历认证：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="is_education_authentication" {present name='name'}{eq name="name.is_education_authentication" value="0"}checked{else /}checked{/eq}{else /}checked{/present}>暂无
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="is_education_authentication" {present name='name'}{eq name="name.is_education_authentication" value="1"}checked{/eq}{/present}>审核
                                            </label>
                                            <label>
                                                <input type="radio" value="2" name="is_education_authentication" {present name='name'}{eq name="name.is_education_authentication" value="2"}checked{/eq}{/present}>通过
                                            </label>
                                            <label>
                                                <input type="radio" value="3" name="is_education_authentication" {present name='name'}{eq name="name.is_education_authentication" value="3"}checked{/eq}{/present}>拒绝
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">房产认证：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="house_auth" {present name='name'}{eq name="name.house_auth" value="0"}checked{else /}checked{/eq}{else /}checked{/present}>暂无
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="house_auth" {present name='name'}{eq name="name.house_auth" value="1"}checked{/eq}{/present}>审核
                                            </label>
                                            <label>
                                                <input type="radio" value="2" name="house_auth" {present name='name'}{eq name="name.house_auth" value="2"}checked{/eq}{/present}>通过
                                            </label>
                                            <label>
                                                <input type="radio" value="3" name="house_auth" {present name='name'}{eq name="name.house_auth" value="3"}checked{/eq}{/present}>拒绝
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">车辆认证：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="car_auth" {present name='name'}{eq name="name.car_auth" value="0"}checked{else /}checked{/eq}{else /}checked{/present}>暂无
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="car_auth" {present name='name'}{eq name="name.car_auth" value="1"}checked{/eq}{/present}>审核
                                            </label>
                                            <label>
                                                <input type="radio" value="2" name="car_auth" {present name='name'}{eq name="name.car_auth" value="2"}checked{/eq}{/present}>通过
                                            </label>
                                            <label>
                                                <input type="radio" value="3" name="car_auth" {present name='name'}{eq name="name.car_auth" value="3"}checked{/eq}{/present}>拒绝
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">高富帅/白富美：</label>
                                    <div class="col-sm-9">
                                        <div class="radio i-checks">
                                            <label>
                                                <input type="radio" value="0" name="nvshen" {present name="name"}{eq name="name.nvshen" value="0"}checked{/eq}{else /}checked{/present}>否
                                            </label>
                                            <label>
                                                <input type="radio" value="1" name="nvshen" {present name="name"}{eq name="name.nvshen" value="1"}checked{/eq}{/present}>是
                                            </label>
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div id="tab-3" class="tab-pane">
                            <div class="ibox-content">
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">星座：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="constellation">
                                            <option value="水瓶座" {present name='name'}{eq name="name.constellation" value="水瓶座"}selected="selected"{/eq}{/present}>水瓶座</option>
                                            <option value="双鱼座" {present name='name'}{eq name="name.constellation" value="双鱼座"}selected="selected"{/eq}{/present}>双鱼座</option>
                                            <option value="白羊座" {present name='name'}{eq name="name.constellation" value="白羊座"}selected="selected"{/eq}{/present}>白羊座</option>
                                            <option value="金牛座" {present name='name'}{eq name="name.constellation" value="金牛座"}selected="selected"{/eq}{/present}>金牛座</option>
                                            <option value="双子座" {present name='name'}{eq name="name.constellation" value="双子座"}selected="selected"{/eq}{/present}>双子座</option>
                                            <option value="巨蟹座" {present name='name'}{eq name="name.constellation" value="巨蟹座"}selected="selected"{/eq}{/present}>巨蟹座</option>
                                            <option value="狮子座" {present name='name'}{eq name="name.constellation" value="狮子座"}selected="selected"{/eq}{/present}>狮子座</option>
                                            <option value="处女座" {present name='name'}{eq name="name.constellation" value="处女座"}selected="selected"{/eq}{/present}>处女座</option>
                                            <option value="天秤座" {present name='name'}{eq name="name.constellation" value="天秤座"}selected="selected"{/eq}{/present}>天秤座</option>
                                            <option value="天蝎座" {present name='name'}{eq name="name.constellation" value="天蝎座"}selected="selected"{/eq}{/present}>天蝎座</option>
                                            <option value="射手座" {present name='name'}{eq name="name.constellation" value="射手座"}selected="selected"{/eq}{/present}>射手座</option>
                                            <option value="摩羯座" {present name='name'}{eq name="name.constellation" value="摩羯座"}selected="selected"{/eq}{/present}>摩羯座</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">学历：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="education_background">
                                            <option value="" {present name='name'}{eq name="name.education_background" value=""}selected="selected"{/eq}{/present}></option>
                                            <option value="高中及以下" {present name='name'}{eq name="name.education_background" value="高中及以下"}selected="selected"{/eq}{/present}>高中及以下</option>
                                            <option value="中专" {present name='name'}{eq name="name.education_background" value="中专"}selected="selected"{/eq}{/present}>中专</option>
                                            <option value="大专" {present name='name'}{eq name="name.education_background" value="大专"}selected="selected"{/eq}{/present}>大专</option>
                                            <option value="大学本科" {present name='name'}{eq name="name.education_background" value="大学本科"}selected="selected"{/eq}{/present}>大学本科</option>
                                            <option value="硕士" {present name='name'}{eq name="name.education_background" value="硕士"}selected="selected"{/eq}{/present}>硕士</option>
                                            <option value="博士" {present name='name'}{eq name="name.education_background" value="博士"}selected="selected"{/eq}{/present}>博士</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">职业：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="occupation">
                                            {volist name='occupation' id='vv'}
                                            <label>
                                                <option name="occupation[]" value="{$vv.name}" {present name='name'}{eq name="name.occupation" value="$vv.name"}selected="selected"{/eq}{/present}>{$vv.name}</option>
                                            </label>
                                            {/volist}
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">薪资：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="monthly_salary">
                                            <option value="" {present name='name'}{eq name="name.monthly_salary" value=""}selected="selected"{/eq}{/present}></option>
                                            <option value="3000元以下" {present name='name'}{eq name="name.monthly_salary" value="3000元以下"}selected="selected"{/eq}{/present}>3000元以下</option>
                                            <option value="3001-5000元" {present name='name'}{eq name="name.monthly_salary" value="3001-5000元"}selected="selected"{/eq}{/present}>3001-5000元</option>
                                            <option value="5001-8000元" {present name='name'}{eq name="name.monthly_salary" value="5001-8000元"}selected="selected"{/eq}{/present}>5001-8000元</option>
                                            <option value="8001-12000元" {present name='name'}{eq name="name.monthly_salary" value="8001-12000元"}selected="selected"{/eq}{/present}>8001-12000元</option>
                                            <option value="12001-20000元" {present name='name'}{eq name="name.monthly_salary" value="12001-20000元"}selected="selected"{/eq}{/present}>12001-20000元</option>
                                            <option value="20001-50000元" {present name='name'}{eq name="name.monthly_salary" value="20001-50000元"}selected="selected"{/eq}{/present}>20001-50000元</option>
                                            <option value="50000元以上" {present name='name'}{eq name="name.monthly_salary" value="50000元以上"}selected="selected"{/eq}{/present}>50000元以上</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">婚姻状况：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="emotion">
                                            <option value="" {present name='name'}{eq name="name.emotion" value=""}selected="selected"{/eq}{/present}></option>
                                            <option value="未婚" {present name='name'}{eq name="name.emotion" value="未婚"}selected="selected"{/eq}{/present}>未婚</option>
                                            <option value="离异" {present name='name'}{eq name="name.emotion" value="离异"}selected="selected"{/eq}{/present}>离异</option>
                                            <option value="丧偶" {present name='name'}{eq name="name.emotion" value="丧偶"}selected="selected"{/eq}{/present}>丧偶</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">有无孩子：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="had_kids">
                                            <option value="" {present name='name'}{eq name="name.had_kids" value=""}selected="selected"{/eq}{/present}></option>
                                            <option value="没有小孩" {present name='name'}{eq name="name.had_kids" value="没有小孩"}selected="selected"{/eq}{/present}>没有小孩</option>
                                            <option value="有小孩且住在一起" {present name='name'}{eq name="name.had_kids" value="有小孩且住在一起"}selected="selected"{/eq}{/present}>有小孩且住在一起</option>
                                            <option value="有小孩且偶尔住在一起" {present name='name'}{eq name="name.had_kids" value="有小孩且偶尔住在一起"}selected="selected"{/eq}{/present}>有小孩且偶尔住在一起</option>
                                            <option value="有小孩但不在身边" {present name='name'}{eq name="name.had_kids" value="有小孩但不在身边"}selected="selected"{/eq}{/present}>有小孩但不在身边</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">是否吸烟：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="is_smoking">
                                            <option value="" {present name='name'}{eq name="name.is_smoking" value=""}selected="selected"{/eq}{/present}></option>
                                            <option value="不吸烟" {present name='name'}{eq name="name.is_smoking" value="不吸烟"}selected="selected"{/eq}{/present}>不吸烟</option>
                                            <option value="稍微抽一点烟" {present name='name'}{eq name="name.is_smoking" value="稍微抽一点烟"}selected="selected"{/eq}{/present}>稍微抽一点烟</option>
                                            <option value="烟抽的很多" {present name='name'}{eq name="name.is_smoking" value="烟抽的很多"}selected="selected"{/eq}{/present}>烟抽的很多</option>
                                            <option value="社交场合会抽烟" {present name='name'}{eq name="name.is_smoking" value="社交场合会抽烟"}selected="selected"{/eq}{/present}>社交场合会抽烟</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">是否喝酒：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="is_drinking">
                                            <option value="" {present name='name'}{eq name="name.is_drinking" value=""}selected="selected"{/eq}{/present}></option>
                                            <option value="不喝酒" {present name='name'}{eq name="name.is_drinking" value="不喝酒"}selected="selected"{/eq}{/present}>不喝酒</option>
                                            <option value="稍微喝一点酒" {present name='name'}{eq name="name.is_drinking" value="稍微喝一点酒"}selected="selected"{/eq}{/present}>稍微喝一点酒</option>
                                            <option value="喝很多" {present name='name'}{eq name="name.is_drinking" value="喝很多"}selected="selected"{/eq}{/present}>喝很多</option>
                                            <option value="社交场合会喝酒" {present name='name'}{eq name="name.is_drinking" value="社交场合会喝酒"}selected="selected"{/eq}{/present}>社交场合会喝酒</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">是否有车：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="is_car_purchase">
                                            <option value="有" {present name='name'}{eq name="name.is_car_purchase" value="有"}selected="selected"{/eq}{/present}>有</option>
                                            <option value="无" {present name='name'}{eq name="name.is_car_purchase" value="无"}selected="selected"{/eq}{/present}>无</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">是否有房：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="is_house_purchase">
                                            <option value="有" {present name='name'}{eq name="name.is_house_purchase" value="有"}selected="selected"{/eq}{/present}>有</option>
                                            <option value="无" {present name='name'}{eq name="name.is_house_purchase" value="无"}selected="selected"{/eq}{/present}>无</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">期望结婚：</label>
                                    <div class="col-sm-9">
                                        <select class="form-control" name="when_marry">
                                            <option value="" {present name='name'}{eq name="name.when_marry" value=""}selected="selected"{/eq}{/present}></option>
                                            <option value="认同闪婚" {present name='name'}{eq name="name.when_marry" value="认同闪婚"}selected="selected"{/eq}{/present}>认同闪婚</option>
                                            <option value="一年内" {present name='name'}{eq name="name.when_marry" value="一年内"}selected="selected"{/eq}{/present}>一年内</option>
                                            <option value="两年内" {present name='name'}{eq name="name.when_marry" value="两年内"}selected="selected"{/eq}{/present}>两年内</option>
                                            <option value="三年内" {present name='name'}{eq name="name.when_marry" value="三年内"}selected="selected"{/eq}{/present}>三年内</option>
                                            <option value="时机成熟就结婚" {present name='name'}{eq name="name.when_marry" value="时机成熟就结婚"}selected="selected"{/eq}{/present}>时机成熟就结婚</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">身高：</label>
                                    <div class="col-sm-9">
                                        <input name="stature" type="number" class="form-control" value="{present name='name'}{$name.stature}{/present}" placeholder="单位CM">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">体重：</label>
                                    <div class="col-sm-9">
                                        <input name="weight" type="number" class="form-control" value="{present name='name'}{$name.weight}{/present}" placeholder="单位KG">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">牵线数：</label>
                                    <div class="col-sm-9">
                                        <input name="pull_line_count" type="number" class="form-control" value="{present name='name'}{$name.pull_line_count}{/present}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">牵线期限：</label>
                                    <div class="col-sm-9">
                                        <input name="pull_line" type="text" id="line" class="form-control layui-input" value="{present name='name'}{if condition='$name.pull_line'}{$name.pull_line}{/if}{/present}" autocomplete="off"  style="width: 30%;float: left;">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="tab-5" class="tab-pane">
                            <div class="ibox-content">
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">姓名：</label>
                                    <div class="col-sm-9">
                                        <input name="proxy_name" type="text" class="form-control" value="{present name='proxy_info'}{$proxy_info.name}{/present}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">城市：</label>
                                    <div class="col-sm-9">
                                        <input name="proxy_city" type="text" class="form-control" value="{present name='proxy_info'}{$proxy_info.city}{/present}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">手机：</label>
                                    <div class="col-sm-9">
                                        <input name="proxy_phone" type="text" class="form-control" value="{present name='proxy_info'}{$proxy_info.phone}{/present}">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">身份证：</label>
                                    <div class="col-sm-9">
                                        <input name="proxy_idcard" type="text" class="form-control" value="{present name='proxy_info'}{$proxy_info.idcard}{/present}">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
{include file="public/footer" /}
{load href="__PLUGINS__iCheck/icheck.min.js"}
{load href="__PLUGINS__iCheck/custom.css"}
{load href="__JS__city_picker_data.js"}
{load href="__JS__city_picker_two.js"}
{load href="__JS__city_picker_tri.js"}
{load href="__CSS__city_picker.css"}
<script type="text/javascript">
$(document).ready(function(){
     $(".i-checks").iCheck({
        checkboxClass: "icheckbox_square-green",
        radioClass: "iradio_square-green",
    })

    layui.use('laydate', function () {
        var laydate = layui.laydate;

        //执行一个laydate实例
        laydate.render ({
            elem : '#time', //指定元素
            type : 'datetime',
        });

        laydate.render ({
            elem : '#loginTime',
            type : 'datetime',
        });

        laydate.render ({
            elem : '#line',
            type : 'datetime',
        });

        laydate.render ({
            elem : '#vip',
            type : 'datetime',
        });
    });
})

function userSelect(id) {
    layui.use('layer', function(){
        var layer = layui.layer;
        layer.open({
            title :'预览',
            area: ['80%', '80%'],
            type: 2,
            content: '{:url("userSelect", ["url" => "-1"])}?id='+id
        });
    });
}

function chan(obj) {
    if ($(obj).val()=='男') {
        $('.conditions_man').show().siblings().hide();
        $('.conditions_woman').find('input').removeAttr('checked');
    } else if($(obj).val()=='女') {
        $('.conditions_woman').show().siblings().hide();
        $('.conditions_man').find('input').removeAttr('checked');
    }
}
</script>
{include file="public/bottom" /}
 
